home *** CD-ROM | disk | FTP | other *** search
/ VRML 2.0 Sourcebook (2nd Edition) / VRML 2.0 Sourcebook CD [md5 fed90f4f9c39d5a60d477058775c7e21].iso / book / unix / ch19 / 19fig22.wrl < prev    next >
Text File  |  1996-09-23  |  518b  |  27 lines

  1. #VRML V2.0 utf8
  2. # The VRML 2.0 Sourcebook
  3. # Copyright [1997] By
  4. # Andrea L. Ames, David R. Nadeau, and John L. Moreland
  5. Shape {
  6.     appearance Appearance {
  7.         material Material { }
  8.     }
  9.     geometry IndexedFaceSet {
  10.         coord Coordinate {
  11.             point [
  12.                 -1.0 -1.0  0.0,   1.0 -1.0  0.0,
  13.                  1.0  1.0  0.0,  -1.0  1.0  0.0,
  14.             ]
  15.         }
  16.         coordIndex [ 0, 1, 2, 3 ]
  17.         normalPerVertex TRUE
  18.         normal Normal {
  19.             vector [
  20.                 0.0  0.0  1.0,   1.0  0.0  0.0,
  21.                 1.0  0.0  0.0,   0.0  0.0  1.0,
  22.             ]
  23.         }
  24.         normalIndex [ 0, 1, 2, 3 ]
  25.     }
  26. }
  27.